package org.zxt.web.buss.rep;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.zxt.web.buss.domain.Buss;
import org.zxt.web.buss.rep.mapper.BussMapper;

import javax.annotation.Resource;
import java.util.List;

@Resource
public class BussRepo {
    @Resource
    private BussMapper mapper;

    public IPage<Buss> doPage(IPage<Buss> page, Buss buss) {
        return mapper.selectPage(page, new QueryWrapper<>());
    }
}
